* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
    -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
    background-attachment: fixed;
    font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;

    height: 100%;
    margin: 0px;
    padding: 0px;
    text-transform: uppercase;
    width: 100%;
}

/* Portrait layout (default) */
/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width: 400px) {

}

@keyframes fade {
    from {
        opacity: 1.0;
    }
    50% {
        opacity: 0.4;
    }
    to {
        opacity: 1.0;
    }
}

@-webkit-keyframes fade {
    from {
        opacity: 1.0;
    }
    50% {
        opacity: 0.4;
    }
    to {
        opacity: 1.0;
    }
}

/*地图样式*/
#map {
    width: 100vw;
    height: 100vh;
}

/*搜索框*/
#searchox {
    position: absolute;
    width: 94vw;
    height: 12vw;
    background-color: white;
    border-radius: 1vmin;
    top: 2vw;
    left: 3vw;
    z-index: 1000;
}

#searchox img {
    position: relative;
    float: left;
    width: 10vw;
    left: 1vw;
    top: 1vw;
}

#searchox input {
    position: relative;
    float: left;
    width: 80vw;
    height: 10vw;
    top: 1vw;
    left: 2vw;
    border: none;
    font-size: 5vmin;
    letter-spacing: 1vw;
}

/*右侧按钮组样式*/
#rightgroup {
    position: absolute;
    top: 15vh;
    right: 2vw;
    z-index: 1000;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#rightgroup li {
    line-height: 4vh;
    text-align: right;
}

.rightgroupbtn {
    width: 8vmax;
    height: 8vmax;
}

.rightgroupbtn:hover {
    animation: btn 3s;

}

@keyframes btn {
    0% {
        width: 8vmax;
        height: 8vmax;
    }
    50% {
        width: 12vmax;
        height: 12vmax;
    }
    100% {
        width: 8vmax;
        height: 8vmax;
    }
}

/*
缩放按钮
 */
.zoomControl {
    position: absolute;
    z-index: 1000;
    top: 18vw;
    left: 3vw;
    background-color: white;
    border-radius: 1vmin;
    width: auto;
    height: auto;
    padding: 4px;
}

#zoomIn {

    height: 5vmax;
    width: 7vmin;
    background-color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../img/zoomin.png");
    border-bottom: solid 1px gray;

    /*background-size: 100% ;*/
}

#zoomIn:active {
    background-color: lightblue;
}

#zoomOut {
    background-color: white;
    background-image: url("../img/zoomout.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 5vmax;
    width: 7vmin;
}

#zoomOut:active {
    background-color: lightblue;
}

/*菜单按钮*/
#menu {
    position: absolute;
    z-index: 1000;
    right: 2vw;
    bottom: 2vw;
    width: 8vmax;

}

#menu:hover {
    animation: menu 3s;

}

@keyframes menu {
    0% {
        width: 8vmax;
    }
    50% {
        width: 12vmax
    }
    100% {
        width: 8vmax
    }
}

/*左下角logo*/
#logo {
    position: absolute;
    z-index: 1000;
    left: 2vmin;
    bottom: 2vmin;
    width: auto;
    text-align: center;
}

#logo #logopic {
    width: 6vmax;
}

#logo #logotext {
    width: 10vmax;
}

/*定位按钮*/
#locate {
    position: absolute;
    z-index: 1000;
    left: 2vmin;
    bottom: 11vmax;
    width: 6vmax;

}

#locate:hover {
    animation: locate 3s;
}

@keyframes locate {
    0% {
        width: 6vmax;
    }
    50% {
        width: 10vmax
    }
    100% {
        width: 6vmax
    }
}

#menuPanel {
    position: absolute;
    z-index: 1001;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 0vh;
    background-color: #14234a;
    overflow: hidden;
    text-align: center;
}

#menuPanel ul li {
    height: 8vh;
    text-align: left;
    border-bottom: solid 1px black;

}

#menuPanel ul li img {
    margin-top: 1vh;
    margin-left: 3vh;
    height: 6vh;
    float: left;
}

#menuPanel img {
    margin-top: 2vh;
    height: 9vh;
}

#menuPanel ul li .text {
    margin-top: 2vh;
    height: 4vh;
    margin-left: 6vh;
    float: left;
}

#menuPanel ul li .text a {
    font-size: 3vh;
    color: white;
}

#menuPanel ul li .switch {
    float: right;
    background-image: url("../img/open1.png");
    height: 6vh;
    width: 12vh;
    margin-top: 1vh;
    margin-right: 2vh;
    background-size: 100% 100%;
    padding: 0.1vh;
}

.switchstate {
    height: 5.8vh;
    width: 5.8vh;
    float: right;

    background-image: url("../img/open2.png");
    background-size: contain;
}

/*切换地图*/
#LayerControlPanel {
    position: absolute;
    z-index: 1001;
    right: 0;
    top: 0;
    width: 0;
    height: 100vh;
    background-color: white;
    overflow: hidden;
    padding-top: 5vh;
}

#LayerControlPanel ul li {
    height: 20vh;
    width: 70vw;
    text-align: center;

}

#LayerControlPanel ul li div {
    position: relative;
    text-align: center;
    float: left;
    width: 35vw;
    height: 20vh;
    padding-top: 0;
}

#LayerControlPanel ul li div img {
    width: 29vw;
    height: 16vh;
    border-radius: 1vmax;

}
.mapStyle{


    height: 5vh;
    width: 70vw;
    text-align: center;
    font-size: 3vh;
    line-height: 3vh;
    color: #3388ff;
}

.mapname {
    vertical-align: top;
    margin-top: 1vh;
    line-height: 3vh;
    height: 3vh;
    font-size: 2vh;
    font-family: 黑体;
}

#message {
    z-index: 2000;
    position: absolute;
    height: 30vh;
    width: 90vw;
    left: 5vw;
    top: 35vh;
    border-radius: 1vmax;
    background-color: #14234a;
}

#removeMessage {
    position: absolute;
    height: 5vh;
    width: 20vw;
    right: 1vw;
    bottom: 1vh;
    text-align: center;
    font-size: 3vh;
    color: palegreen;
}

#messageText {
    word-wrap: break-word;
    position: relative;
    width: 70vw;
    height: 23vh;
    margin-left: 6vw;
    margin-top: 3vh;
    color: white;
    font-size: 3vh;
    text-align: center;
}

.measure {
    width: 90vw;
    height: 10vh;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: 4vh;
    letter-spacing: 8px;
    border-bottom: solid 1px beige;
    line-height: 10vh;
}

#closeMeasure {
    text-align: center;
    position: absolute;
    z-index: 1003;
    width: 22vw;
    left: 39vw;
    height: 7vh;
    bottom: 3vh;
    font-size: 3vh;
    line-height: 7vh;
    background-color: #14234a;
    color: white;
    border-radius: 2vmax;
}

.captureWay {
    text-align: center;
    width: 45vw;
    height: 23vh;
    color: white;
    font-size: 3vh;
}

.captureWay img {
    width: 20vw;
    height: 20vw;
}

#captureTitle {
    position: relative;
    float: left;
    margin-left: 10vw;
    width: 60vw;
    height: 5vh;
    font-size: 3vh;
    line-height: 5vh;
    font-weight: bold;
}

#mediaContainer {
    position: relative;
    float: left;
    margin-left: 10vw;
    margin-top: 1vh;
    width: 55vw;
    height: 30vh;
    overflow: hidden;
}

#mediaContainer video {
    width: 55vw;
    height: 30vh;
}

#mediaContainer img {
    width: 55vw;
    height: 20vh;
}

.captureText {
    position: relative;
    float: left;
    margin-left: 10vw;
    margin-top: 1vh;
    width: 60vw;
    height: auto;
    word-wrap: break-word;
    font-size: 2vh;
    line-height: 3vh;
    color: gray;

}

.capBtn {
    position: relative;
    float: left;
    text-align: center;
    margin-left: 15vw;
    margin-top: 3vh;
    width: 45vw;
    height: 5vh;
    font-size: 3vh;
    line-height: 5vh;
    color: white;
    background-color: #00a0e9;
    border-radius: 1vmax;
}
.capBtn:hover{
    animation:capbtnhr 3s;
}
@keyframes capbtnhr {
    0% {
        width: 45vw;
    }
    50% {
        width: 20vw
    }
    100% {
        width: 45vw
    }
}
#nameInput {
    position: relative;
    float: left;
    margin-left: 10vw;
    margin-top: 1vh;
    width: 60vw;
    height: 4vh;
    font-size: 2vh;
    line-height: 3vh;
    overflow: hidden;
    word-wrap: break-word;
}

#nameInput input {
    border: 0;
    border-bottom: 1px solid black;
    width: 45vw;
}
#message input{
    margin-top: 1vh;
    border: 0;
    border-bottom: 1px solid yellowgreen;
    width: 40vw;
    height: 4vh;
    font-size: 2vh;
    line-height: 3vh;
    overflow: hidden;
    opacity: 0.5;
    word-wrap: break-word;
}
.messageTitle{
    position: relative;
    float: left;
    margin-left: 25vw;
    width: 40vw;
    height: 6vh;
    font-size: 3vh;
    line-height: 6vh;
    font-weight: bold;
    color: white;
}
.captureText ul li{
    position: relative;
    float: left;
    margin-left: 1vw;
    margin-top: 1vh;
    width: 18vw;
    height: 4vh;
    font-size: 2vh;
    line-height: 3vh;
    color: yellowgreen;
}

.captureText ul li img{
    height: 4vh;
}
#iframe{
    top: 0;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 500;
}
#fancybox-frame{
    position: absolute;
    z-index: 5001;
    top: 16vw;
    left:29vw;
    width: 42vw;
    height: 10vh;
    background-color: #BBDDFF;
    opacity: 0.5;
}
#fancybox-frameDiv{
    position: absolute;
    z-index: 5002;
    top: 16vw;
    left:29vw;
    width: 42vw;
    height: 10vh;
    opacity: 0;
}
#waiteAmi{
position: absolute;
    z-index: 1500;
    width: 40vw;
    top:20vh;
    left: 30vw;
}
#showVideo{
    z-index: 2000;
    position: absolute;
    width: 100vw;
    padding-top: 2vw;
    padding-bottom: 2vw;
    left: 0;
    top: 20vh;
    border-radius: 1vmax;
    background-color: #14234a;
}
#showVideo video{
    position: relative;
    margin-left: 2vw;
    width: 96vw;
    -webkit-transform: translate3d(0, 0, 0)
}
#removeVideo{
    position: absolute;
    height: 5vh;
    width: 20vw;
    right: 1vw;
    top: 1vh;
    text-align: center;
    font-size: 3vh;
    color: palegreen;
}
#showVideo a{
    position: absolute;
    top: 2vw;
    left: 2vw;
    z-index:3000;
    color: palegreen;
}